package com.haikesi.api.user.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.haikesi.api.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Table;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
public class UserVO{

    @ApiModelProperty(value = "ID")
    private String id;

    @ApiModelProperty(value = "用户名称")
    private String userName;

    @ApiModelProperty(value = "登录名称")
    private String loginName;

    @ApiModelProperty(value = "手机号")
    private String userMobile;

    @ApiModelProperty(value = "电子邮箱")
    private String userEmail;

    @ApiModelProperty(value = "禁用状态(1禁用 0正常)")
    private int disableFlag;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;

    @ApiModelProperty(value = "角色ID")
    private String roleId;
    @ApiModelProperty(value = "角色名称")
    private String roleName;
    @ApiModelProperty(value = "机构ID")
    private String organizationId;
    @ApiModelProperty(value = "机构名称")
    private String organizationName;



}